package com.aaa.ssm.service;


import com.aaa.ssm.entity.Registration;
import com.aaa.ssm.entity.SectionName;
import com.aaa.ssm.entity.SysCareer;
import com.aaa.ssm.util.Page;
import com.aaa.ssm.vo.TreeNode;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wjz
 * 2023/10/19
 */
public interface RegistrationService {

    int updateBy(Registration registration);

    Registration add(Registration registration);

    int update(String careerId,String date);

    List<Registration> queryByParam(Registration registration);
    int delete(String id);

    PageInfo queryByPage(Page<Registration> page);

    List<Registration> queryByIn(@Param("sname") String sname, @Param("card") String card);

    int updateId(String id);

    List<SysCareer> queryTreeDataByUserName(String name);
}
